.Nav{
    overflow: hidden;
    display: inline-block;
    padding : 0px 0px 0px 0px;
    float : right;
}

.Nav li{
    opacity:0.75; 
    background-color: #fff;
    border-right: 1px solid rgba(9, 9, 9, 0.125);
    box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
    -moz-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
    -webkit-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
    position:relative;  
    float: left;
    list-style: none;
    transition: opacity .5s ease-in-out;
   -moz-transition: opacity .5s ease-in-out;
   -webkit-transition: opacity .5s ease-in-out;
}
/*dzdzdzdddasas*/
.Nav li:after{
    opacity:0; 
    content:'.';
    text-indent:-9999px;
    overflow:hidden;
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:1;
    
    background-color: #ffffff;
    box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
    -moz-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
    -webkit-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
    -moz-transition:0.25s all;
    -webkit-transition:0.25s all;
    -o-transition:0.25s all;
    transition:0.25s all;
}

.Nav li:first-child{
    border-radius: 8px 0 0 8px;
}

.Nav li:first-child:after,.Nav li.selected:first-child:after{
    box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
    -moz-box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
    -webkit-box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
    border-radius:8px 0 0 8px;
}

.Nav li:last-child{
    border-radius: 0 8px 8px 0;
}

.Nav li:last-child:after,.Nav li.selected:last-child:after{
    box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
    -moz-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
    -webkit-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
    border-radius:0 8px 8px 0;
}

.Nav li.selected:after,.Nav li:target:after{
    opacity:1;
}

.Nav li:hover:after{
    opacity:1;    
    background-color: #f0f0f0;
}

.Nav li a{
    color: #3F3F38;
    font-size: 15px;
    font-weight: bold;
    display: inline-block;
    font-family: Helvetica,Arial,Verdana,sans-serif;
    padding: 16px 10px 18px;
    position: relative;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
    z-index:2;
    text-decoration:none !important;
    white-space:nowrap;
}

